AVEVA OMI Software Developer Kit



ArchestrA.Client.RuntimeData Namespace > DataReferenceSource Class > DataReferenceSource Constructor : DataReferenceSource Constructor(String,Action<DataReference>)
The reference string
The action to receive the data/quality change
DataReferenceSource Constructor(String,Action<DataReference>)
Initializes a new instance of the DataReferenceSource class.
Syntax
'Declaration
 
Public Function New( _
   ByVal referenceString As String, _
   ByVal dataChangedAction As Action(Of DataReference) _
)
'Usage
 
Dim referenceString As String
Dim dataChangedAction As Action(Of DataReference)
 
Dim instance As New DataReferenceSource(referenceString, dataChangedAction)
public DataReferenceSource( 
   string referenceString,
   Action<DataReference> dataChangedAction
)
public:
DataReferenceSource( 
   String^ referenceString,
   Action<DataReference^>^ dataChangedAction
)

Parameters

referenceString
The reference string
dataChangedAction
The action to receive the data/quality change
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also